﻿using System;
using System.Collections;
using System.Collections.Generic;
using Zor_DAL;
using Zor_Modes;

namespace Zor_Bll
{
    /// <summary>
    /// 出租税收统计
    /// </summary>
    public class LeaseTaxStat_Bll<T> where T : class
    {
        /// <summary>
        /// 出租税收统计
        /// </summary>
        /// <param name="index">页码</param>
        /// <param name="TotalCount">返回值</param>
        /// <returns></returns>
        public static List<T> GetPageList(int index, out int TotalCount, string where)
        {

            return PagerHelp<T>.GetPagerList(index, "V_TaxHouseholds", "Hs_Id", out TotalCount, where);
        }

        /// <summary>
        /// 已收税户数年月
        /// </summary>
        /// <returns></returns>
        public static List<T> GetLeaseTaxStat()
        {
            return LeaseTaxStat_DAL<T>.GetLeaseTaxStat();
        }

  

        /// <summary>
        /// 已租户数年月
        /// </summary>
        /// <returns></returns>
        public static List<T> GetLeaseHouseholds()
        {
            return LeaseTaxStat_DAL<T>.GetLeaseHouseholds();
        }


    }
}
